package ifmo.group5512.entity;


import java.util.HashSet;
import java.util.Set;

public class OrderProductTable {
    
    private Integer id;
    
    private Order orders;// = new HashSet();
    
    public Set<Product> products = new HashSet<Product>();
    
    private Set statesOrderProduct = new HashSet();
    
    private Set ordersHistory = new HashSet();

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

//    public Set getOrders() {
//        return orders;
//    }
//
//    public void setOrders(Set orders) {
//        this.orders = orders;
//    }

    public Set<Product> getProducts() {
        return products;
    }

    public void setProducts(Set<Product> products) {
        this.products = products;
    }

    public Set getStatesOrderProducts() {
        return statesOrderProduct;
    }

    public void setStatesOrderProducts(Set statesOrderProducts) {
        this.statesOrderProduct = statesOrderProducts;
    }

    public Set getOrdersHistory() {
        return ordersHistory;
    }

    public void setOrdersHistory(Set ordersHistory) {
        this.ordersHistory = ordersHistory;
    }

    public OrderProductTable(){}

	public Order getOrders() {
		return orders;
	}

	public void setOrders(Order orders) {
		this.orders = orders;
	}
}
